package com.ruoyi.project.system.commodity.servuce;

import com.ruoyi.project.system.commodity.domain.GoodsSku;
import com.ruoyi.project.system.commodity.mapper.GoodsSkuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodsSkuServiceImp implements GoodsSkuService{
    @Autowired
    GoodsSkuMapper goodsSkuMapper;

    @Override
    public int insertSku(GoodsSku goodsSku) {
        return goodsSkuMapper.insertSku(goodsSku);
    }

    @Override
    public void updateSku(GoodsSku goodsSku) {
        goodsSkuMapper.updateSku(goodsSku);
    }
}
